<?php /*
  Template Name: equipo
 */ ?>
<?php get_header(); ?>


<div class="sixteen columns ">
    <div id="content">
        <center><img src="<?php bloginfo('template_url') ?>/images/equipo.jpg"></img></center>
        <center>
<br /><br /><br /><br />
            <?php
            $args = array(
                'showposts' => -1, 'category_name' => 'perfil');
            $my_query = new WP_Query($args);

            if ($my_query->have_posts()) :
                ?>
                <?php while ($my_query->have_posts()) : $my_query->the_post(); ?>

                    <?php if (has_post_thumbnail()) { ?>

                        <a href="<?php the_permalink() ?>"><img class="blImagjtef scale-with-grid" src="<?php bloginfo('stylesheet_directory'); ?>/timthumb.php?src=<?php get_image_url(); ?>&amp;h=184&amp;w=184&amp;zc=1" alt=""/></a>
                    <?php } else { ?>
                        <a href="<?php the_permalink() ?>"><img class="blImagjtef scale-with-grid" src="<?php bloginfo('template_directory'); ?>/images/bio.jpg" alt="" /></a>
                        <?php } ?>                
                    <?php endwhile;
                endif; ?>
        </center>
    </div>		
</div>	

<?php get_footer(); ?>


